package com.ruoyi.order.mapper;

import java.util.List;
import com.ruoyi.order.domain.StatisticCustomers;

/**
 * VIEWMapper接口
 * 
 * @author ruoyi
 * @date 2021-07-08
 */
public interface StatisticCustomersMapper 
{
    /**
     * 查询VIEW
     * 
     * @param companyName VIEWID
     * @return VIEW
     */
    public StatisticCustomers selectStatisticCustomersById(String companyName);

    /**
     * 查询VIEW列表
     * 
     * @param statisticCustomers VIEW
     * @return VIEW集合
     */
    public List<StatisticCustomers> selectStatisticCustomersList(StatisticCustomers statisticCustomers);

    /**
     *
     * @param userId
     * @return
     */
    public List<StatisticCustomers> selectStatisticCustomersListWithoutPrices(Long userId);

    /**
     * 新增VIEW
     * 
     * @param statisticCustomers VIEW
     * @return 结果
     */
    public int insertStatisticCustomers(StatisticCustomers statisticCustomers);

    /**
     * 修改VIEW
     * 
     * @param statisticCustomers VIEW
     * @return 结果
     */
    public int updateStatisticCustomers(StatisticCustomers statisticCustomers);

    /**
     * 删除VIEW
     * 
     * @param companyName VIEWID
     * @return 结果
     */
    public int deleteStatisticCustomersById(String companyName);

    /**
     * 批量删除VIEW
     * 
     * @param companyNames 需要删除的数据ID
     * @return 结果
     */
    public int deleteStatisticCustomersByIds(String[] companyNames);
}
